Setup the site


Unzip the file "runcourses-v2.zip"


copy the extracted folder to your server root folder


go to the folder "runcourses"



Create a database on your MySql or MariaDB server

keep the connexion parameters (hostname, username, password, database_name)


In the "data-sample" folder, import the SQL script "db-init.sql", to populate the database with some samples data




Then go to the "config" sub-folder and edit the file db.php:

- change the mysql/mariadb parameters according to your server



Info: the variable $siteRoot, is used to point to the root or sub-directory containing the site and to define the homepage URL

url: http://localhost => $siteRoot = '/'

url: http://localhost/runcourses => $siteRoot  = "/runcourses"



Open your browser and go to http://localhost or http://localhost/runcourses to see the site